package com.xiao.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author lao xiao
 * @date 2025-06-26 23:16
 */
@FeignClient(name = "server-8001")
public interface TestFeignClient {
    @RequestMapping(value = "/test/getPort", method = RequestMethod.GET)
    String getPort();

    @RequestMapping(value = "/test/getPortTimeOut", method = RequestMethod.GET)
    String getPortTimeOut();
}
